<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php,v 1.* 2005/07/01 06:15:08 Bleakwind Exp $
| SnowStats
|         --- A Web Statistics Analysis for multiuser
| Copyright (c) 2003-2005 Weaverdream.com By Bleakwind
| http://www.weaverdream.com
+-----------------------------------------------------------------------------+
*/

include_once 'include/include.php';
check_adminlogin();
include_once 'include/header.php';
?>

<table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#5E94DD" align="center">
  <tr bgcolor="#5E94DD">
    <td width="200" align="center" valign="top" class="left_bg">
      <?include_once 'include/menu.php';?>
	</td>
	<td width="560" bgcolor="#FFFFFF" valign="top">
<?php

if(empty($_GET['act'])){ header("location:prompt.php"); }

switch($_GET['act']){
case "general":
?>

<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center" bgcolor="#EBE9ED"><tr><td><img src="images/arrowright.gif" border=0 align="absmiddle"> <a href="index.php" target="_self"><font style="color:#000000;"><?php echo CONFIG_WEBSITE;?></font></a> &raquo; <?php echo $LANGUAGE['admin_system_placedir'];?> &raquo; <?php echo $LANGUAGE['admin_system_place'];?></td></tr></table>
<br>
<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#FFFFFF">
<tr bgcolor="#5E94DD"><td align="center" class="right_title"><?php echo $LANGUAGE['admin_system_explain'];?></td></tr>
<?php
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_time']."<span class='salient'>".date("Y-m-d H:i:s",time())."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_http_host']."<a href='http://".$_SERVER['HTTP_HOST']."'  title='".$LANGUAGE['admin_system_http_host_visit']."' target='_blank'><span class='salient'>".$_SERVER['HTTP_HOST']."</span></a></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_server_name']."<span class='salient'>".gethostbyname($_SERVER["SERVER_NAME"])."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_php_os']."<span class='salient'>".(PHP_OS)."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_server_software']."<span class='salient'>".$_SERVER["SERVER_SOFTWARE"]."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_language']."<span class='salient'>".$_SERVER["HTTP_ACCEPT_LANGUAGE"]."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_server_port']."<span class='salient'>".$_SERVER["SERVER_PORT"]."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_php_version']."<span class='salient'>".(PHP_VERSION)."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_php_sapi_name']."<span class='salient'>".php_sapi_name()."</span></td></tr>";
echo "<tr bgcolor='#EBE9ED'><td>".$LANGUAGE['admin_system_safemode']."<span class='salient'>".(get_cfg_var("safemode") ? $LANGUAGE['admin_system_yes'] : $LANGUAGE['admin_system_no'])."</span></td></tr>";
?>

</table>
<?php
break;

default:
   header("location:prompt.php");
break;

}//swich

echo "<br></td></tr></table>";
include_once 'include/footer.php';
?>